package com.fzh.wangxiao.config.common;

public enum ServiceError {



    GAME_OVER("活动已结束!",4000),
    ACCOUNT_UNUSUAL("账号异常！",4001),
    REPEAT_JOIN("重复参与！",4002),
    GOLD_SHORTAGE("幸运币不足!",4090),
    ORDER_COMPLETE("确认收货失败!",4091),
    ORDER_CREATE_GOODS_NOTFUND("该商品已经下架!",4093),
    ORDER_CREATE_GOODS_NOTENOUGH("库存不足!",4094),
    ORDER_CREATE_FIAL("订单生成失败!",4095),
    SIGN_NULL("未签到!",4096),
    SIGN_SUCC("已签到!",4097),
    PAY_ERROR("支付失败!",4092);


    private String msg;
    private int code;


    ServiceError(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
